package com.example.mybatis.mapper;

import com.example.mybatis.bean.Catalogue;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CatalogueMapper {

    List<Catalogue> selectList(@Param("name") String name);

    Catalogue selectById( Integer id);

    int update(Catalogue catalogue);

    int insert(Catalogue catalogue);
    int insertBatch(List<Catalogue> catalogue);
    int removeById(Integer id);

    int removeBathById(List<Integer> id);


}
